package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Refund;

/**
 * refundService接口
 * 
 * @author 墨染
 * @date 2025-01-09
 */
public interface IRefundService 
{
    /**
     * 查询refund
     * 
     * @param refundId refund主键
     * @return refund
     */
    public Refund selectRefundByRefundId(Long refundId);

    /**
     * 查询refund列表
     * 
     * @param refund refund
     * @return refund集合
     */
    public List<Refund> selectRefundList(Refund refund);

    /**
     * 新增refund
     * 
     * @param refund refund
     * @return 结果
     */
    public int insertRefund(Refund refund);

    /**
     * 修改refund
     * 
     * @param refund refund
     * @return 结果
     */
    public int updateRefund(Refund refund);

    /**
     * 批量删除refund
     * 
     * @param refundIds 需要删除的refund主键集合
     * @return 结果
     */
    public int deleteRefundByRefundIds(Long[] refundIds);

    /**
     * 删除refund信息
     * 
     * @param refundId refund主键
     * @return 结果
     */
    public int deleteRefundByRefundId(Long refundId);
}
